dofile("Scripts/UI/DisableAll.lua")

GUI_RegisterPanel(menu_panels.screen)
--GUI_ClearButtons()
GUI_CreatePanel()
GUI_SetLocation(0, window.h - 100, window.w, 100)
GUI_SetColor("none")
GUI_SetFadeTime(.8)
GUI_SetButtonDimensions(150, 50)

GUI_AddMiniPanel(0, 0, window.w, window.h, "255, 255, 255, 155")

style = {}
style.norm = "b_style3"
style.mous = "b_style3_m"

--startY = window.h - 200;

local message = "Game"
local x = (window.w / 2) - (GetFontWidth("onuava_big", message) / 2)
local y = 25
GUI_AddText(x, y, message, "gray", "onuava_big")
x, y, message = nil, nil, nil -- garbage collector

GUI_AddMiniPanel(0, 23, window.w, GetFontHeight("onuava_big") + 2, "010, 100, 050, 180")
--GUI_AddMiniPanel(0, window.h - 150, window.w, 150, "010, 100, 050, 180")

-- we could add text using the GUI or just add the text to the texture
GUI_AddButton(menu_panels.map_selector, style.norm, style.mous)
GUI_AddText("Skirmish", "255, 255, 255, 100", "crystal big")


--GUI_AddButton(menu_panels.editor, style.norm, style.mous)
--GUI_AddText("Editor", "255, 255, 255, 100", "crystal big") -- 255, 255, 255, 100
--GUI_AddText(5, startY + 127, "Editor", "blue", "inconsolata")


GUI_AddButton(menu_panels.exit, style.norm, style.mous)
GUI_AddText("Exit", "255, 255, 255, 100", "crystal big")


GUI_AddButton(menu_panels.editor, style.norm, style.mous)
GUI_AddText("Editor", "255, 255, 255, 100", "crystal big")

GUI_ActivatePanel()